package model

import "jgt-oper/src/schema"

// IResourceManagement 公共资源管理接口
type IResourceManagement interface {
	QueryPage(params *schema.RMQParams, pageIndex, pageSize uint) (int, []*schema.ResourceManagement, error)
	Create(*schema.ResourceManagement) error
	Get(string) (*schema.ResourceManagement, error)
	Update(string, map[string]interface{}) error
	Delete(string) error
	QueryAvailableRes() ([]*schema.ResourceManagement, error)
}
